package com.ruoyi.activiti.service.impl;

import com.ruoyi.activiti.domain.ProcessDept;
import com.ruoyi.activiti.domain.ProcessRole;
import com.ruoyi.activiti.mapper.ProcessRoleMapper;
import com.ruoyi.activiti.service.ProcessRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProcessRoleServiceImpl implements ProcessRoleService {
    @Autowired
    private ProcessRoleMapper processRoleMapper;
    @Override
    public List<ProcessRole> queryByName(String roleName) {
        return processRoleMapper.queryByName(roleName);
    }
}
